/**
 * 
 */
package com.bolbachchan.blog.dao.common;

import com.bolbachchan.blog.hibernate.domain.UserDetails;
import com.bolbachchan.common.StringConstants;

/**
 * @author Chaitanya
 * 
 */
public interface UserDetailsDAO extends StringConstants {

    UserDetails getUserDetailsByUsername(String username);

    UserDetails getUserDetailsById(Integer objId);

    void updateLastLogin(String username);

    void updateLastLogin(UserDetails user);
}
